﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UserCP.Master" AutoEventWireup="true" CodeBehind="ViewUserWishList.aspx.cs" Inherits="University.Workshop.WebApp.ViewUserWishList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<center>

            <asp:Label ID="userIdLabel" runat="server" Visible="False"></asp:Label>
&nbsp;&nbsp;&nbsp;
            <asp:Label ID="productIdLabel" runat="server" Visible="False"></asp:Label>
            &nbsp;&nbsp;&nbsp;
            <asp:Label ID="guestUserIdLabel" runat="server" Visible="False"></asp:Label>
            <br />

            <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="XX-Large" 
                ForeColor="#400040" Text="My WishList" Font-Strikeout="False"></asp:Label>
            <br />
    <br />
    <br />
     <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false" 
            CellPadding="4" CellSpacing="4" AllowPaging="True" 
                AutoGenerateSelectButton="true" 
                onselectedindexchanged="GridView1_SelectedIndexChanged" 
                BackColor="#FFFFE6" BorderColor="White" ForeColor="Black" 
                CaptionAlign="Top"  >
                <Columns> 
                     <asp:BoundField DataField="ID" HeaderText="ID"  />                             
                     <asp:BoundField DataField="Name" HeaderText="Name" />
                     <asp:BoundField DataField="Category" HeaderText="Category" />
                     <asp:BoundField DataField="Price" HeaderText="Price" />
                     <asp:BoundField DataField="Currency" HeaderText="Currency" />
                     <asp:BoundField DataField="PosDate" HeaderText="Posted On" />
                     <asp:BoundField DataField="Status" HeaderText="Status" />
                     <asp:TemplateField>
                         <ItemTemplate>
                            <asp:LinkButton runat="server"  Text="Delete"  CommandArgument= '<%# Eval("ID") %>' OnCommand="Delete_Click"  />                        

                         </ItemTemplate>                      
                      </asp:TemplateField>
                </Columns>
                <HeaderStyle BackColor="#400040" BorderColor="White" ForeColor="White" 
                    BorderStyle="Double" Font-Bold="True" Font-Size="Medium" />
   </asp:GridView>

            <br />
            <br />
            <asp:LinkButton ID="LinkButton1" runat="server" Font-Bold="True" 
                Font-Size="Large" onclick="LinkButton1_Click" Font-Italic="False" 
                ForeColor="#400040">Find A WishList</asp:LinkButton>

            <br />
        <asp:Label ID="LabelProdID" runat="server" Visible="False"></asp:Label>
&nbsp;&nbsp;&nbsp;
        <asp:Label ID="LabelProdNAME" runat="server" Visible="False"></asp:Label>
    &nbsp;&nbsp;&nbsp;
        <asp:Label ID="LabelProdPrice" runat="server" Visible="False"></asp:Label>
    &nbsp;&nbsp;&nbsp;
    <asp:Label ID="LabelMessage" runat="server" ForeColor="Maroon" ></asp:Label>
    
</center>
</asp:Content>
